<?php
// +-------------------------------------------------------------------
// |
// +-------------------------------------------------------------------
// | Copyright (c) 2009-2016 All rights reserved.
// +-------------------------------------------------------------------
namespace Service\Api\V1;

class HouseShow
{
    public $login = false; //是否需要登录才能访问该接口
    public $title = "001获取房间展示图片ok";
    public $group = '公用';
    public $desc = "";

    public $input = [
//        'kcs_uploader_file' => 'required;file;label=图片文件;',
    ];

    public $output = [
        'img_house' => 'label=图片域名;',
//        'live_price' => 'label=生活缴费价格字典;comment=格式：100,200,500,1000',
    ];

    public function run($param, $uid)
    {
        $flag= M('system_config')->where(['name' => 'house_img'])->find();
        return [
            'img_house' => $flag['value']
        ];
    }

}
